package Java8_26;

public abstract class Plane1 {
    private String weight;
    private String height;
    public abstract void takeOff(Pilot p);
    public abstract void speed(Pilot p);
    public abstract void land(Pilot p);


    public Plane1(String weight, String height) {
        this.weight = weight;
        this.height = height;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }
}
